package com.sams.entity;

import java.util.ArrayList;
import java.util.List;

public class NegativeStudentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public NegativeStudentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNull() {
            addCriterion("idcard is null");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNotNull() {
            addCriterion("idcard is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardEqualTo(String value) {
            addCriterion("idcard =", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotEqualTo(String value) {
            addCriterion("idcard <>", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThan(String value) {
            addCriterion("idcard >", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("idcard >=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThan(String value) {
            addCriterion("idcard <", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThanOrEqualTo(String value) {
            addCriterion("idcard <=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLike(String value) {
            addCriterion("idcard like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotLike(String value) {
            addCriterion("idcard not like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardIn(List<String> values) {
            addCriterion("idcard in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotIn(List<String> values) {
            addCriterion("idcard not in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardBetween(String value1, String value2) {
            addCriterion("idcard between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotBetween(String value1, String value2) {
            addCriterion("idcard not between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andStucodeIsNull() {
            addCriterion("stucode is null");
            return (Criteria) this;
        }

        public Criteria andStucodeIsNotNull() {
            addCriterion("stucode is not null");
            return (Criteria) this;
        }

        public Criteria andStucodeEqualTo(String value) {
            addCriterion("stucode =", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeNotEqualTo(String value) {
            addCriterion("stucode <>", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeGreaterThan(String value) {
            addCriterion("stucode >", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeGreaterThanOrEqualTo(String value) {
            addCriterion("stucode >=", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeLessThan(String value) {
            addCriterion("stucode <", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeLessThanOrEqualTo(String value) {
            addCriterion("stucode <=", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeLike(String value) {
            addCriterion("stucode like", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeNotLike(String value) {
            addCriterion("stucode not like", value, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeIn(List<String> values) {
            addCriterion("stucode in", values, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeNotIn(List<String> values) {
            addCriterion("stucode not in", values, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeBetween(String value1, String value2) {
            addCriterion("stucode between", value1, value2, "stucode");
            return (Criteria) this;
        }

        public Criteria andStucodeNotBetween(String value1, String value2) {
            addCriterion("stucode not between", value1, value2, "stucode");
            return (Criteria) this;
        }

        public Criteria andIshouseIsNull() {
            addCriterion("ishouse is null");
            return (Criteria) this;
        }

        public Criteria andIshouseIsNotNull() {
            addCriterion("ishouse is not null");
            return (Criteria) this;
        }

        public Criteria andIshouseEqualTo(String value) {
            addCriterion("ishouse =", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseNotEqualTo(String value) {
            addCriterion("ishouse <>", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseGreaterThan(String value) {
            addCriterion("ishouse >", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseGreaterThanOrEqualTo(String value) {
            addCriterion("ishouse >=", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseLessThan(String value) {
            addCriterion("ishouse <", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseLessThanOrEqualTo(String value) {
            addCriterion("ishouse <=", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseLike(String value) {
            addCriterion("ishouse like", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseNotLike(String value) {
            addCriterion("ishouse not like", value, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseIn(List<String> values) {
            addCriterion("ishouse in", values, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseNotIn(List<String> values) {
            addCriterion("ishouse not in", values, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseBetween(String value1, String value2) {
            addCriterion("ishouse between", value1, value2, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIshouseNotBetween(String value1, String value2) {
            addCriterion("ishouse not between", value1, value2, "ishouse");
            return (Criteria) this;
        }

        public Criteria andIscarIsNull() {
            addCriterion("iscar is null");
            return (Criteria) this;
        }

        public Criteria andIscarIsNotNull() {
            addCriterion("iscar is not null");
            return (Criteria) this;
        }

        public Criteria andIscarEqualTo(String value) {
            addCriterion("iscar =", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarNotEqualTo(String value) {
            addCriterion("iscar <>", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarGreaterThan(String value) {
            addCriterion("iscar >", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarGreaterThanOrEqualTo(String value) {
            addCriterion("iscar >=", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarLessThan(String value) {
            addCriterion("iscar <", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarLessThanOrEqualTo(String value) {
            addCriterion("iscar <=", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarLike(String value) {
            addCriterion("iscar like", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarNotLike(String value) {
            addCriterion("iscar not like", value, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarIn(List<String> values) {
            addCriterion("iscar in", values, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarNotIn(List<String> values) {
            addCriterion("iscar not in", values, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarBetween(String value1, String value2) {
            addCriterion("iscar between", value1, value2, "iscar");
            return (Criteria) this;
        }

        public Criteria andIscarNotBetween(String value1, String value2) {
            addCriterion("iscar not between", value1, value2, "iscar");
            return (Criteria) this;
        }

        public Criteria andIspublicIsNull() {
            addCriterion("ispublic is null");
            return (Criteria) this;
        }

        public Criteria andIspublicIsNotNull() {
            addCriterion("ispublic is not null");
            return (Criteria) this;
        }

        public Criteria andIspublicEqualTo(String value) {
            addCriterion("ispublic =", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicNotEqualTo(String value) {
            addCriterion("ispublic <>", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicGreaterThan(String value) {
            addCriterion("ispublic >", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicGreaterThanOrEqualTo(String value) {
            addCriterion("ispublic >=", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicLessThan(String value) {
            addCriterion("ispublic <", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicLessThanOrEqualTo(String value) {
            addCriterion("ispublic <=", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicLike(String value) {
            addCriterion("ispublic like", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicNotLike(String value) {
            addCriterion("ispublic not like", value, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicIn(List<String> values) {
            addCriterion("ispublic in", values, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicNotIn(List<String> values) {
            addCriterion("ispublic not in", values, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicBetween(String value1, String value2) {
            addCriterion("ispublic between", value1, value2, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIspublicNotBetween(String value1, String value2) {
            addCriterion("ispublic not between", value1, value2, "ispublic");
            return (Criteria) this;
        }

        public Criteria andIsmachineIsNull() {
            addCriterion("ismachine is null");
            return (Criteria) this;
        }

        public Criteria andIsmachineIsNotNull() {
            addCriterion("ismachine is not null");
            return (Criteria) this;
        }

        public Criteria andIsmachineEqualTo(String value) {
            addCriterion("ismachine =", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineNotEqualTo(String value) {
            addCriterion("ismachine <>", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineGreaterThan(String value) {
            addCriterion("ismachine >", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineGreaterThanOrEqualTo(String value) {
            addCriterion("ismachine >=", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineLessThan(String value) {
            addCriterion("ismachine <", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineLessThanOrEqualTo(String value) {
            addCriterion("ismachine <=", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineLike(String value) {
            addCriterion("ismachine like", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineNotLike(String value) {
            addCriterion("ismachine not like", value, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineIn(List<String> values) {
            addCriterion("ismachine in", values, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineNotIn(List<String> values) {
            addCriterion("ismachine not in", values, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineBetween(String value1, String value2) {
            addCriterion("ismachine between", value1, value2, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIsmachineNotBetween(String value1, String value2) {
            addCriterion("ismachine not between", value1, value2, "ismachine");
            return (Criteria) this;
        }

        public Criteria andIscadrechildIsNull() {
            addCriterion("iscadrechild is null");
            return (Criteria) this;
        }

        public Criteria andIscadrechildIsNotNull() {
            addCriterion("iscadrechild is not null");
            return (Criteria) this;
        }

        public Criteria andIscadrechildEqualTo(String value) {
            addCriterion("iscadrechild =", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildNotEqualTo(String value) {
            addCriterion("iscadrechild <>", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildGreaterThan(String value) {
            addCriterion("iscadrechild >", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildGreaterThanOrEqualTo(String value) {
            addCriterion("iscadrechild >=", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildLessThan(String value) {
            addCriterion("iscadrechild <", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildLessThanOrEqualTo(String value) {
            addCriterion("iscadrechild <=", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildLike(String value) {
            addCriterion("iscadrechild like", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildNotLike(String value) {
            addCriterion("iscadrechild not like", value, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildIn(List<String> values) {
            addCriterion("iscadrechild in", values, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildNotIn(List<String> values) {
            addCriterion("iscadrechild not in", values, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildBetween(String value1, String value2) {
            addCriterion("iscadrechild between", value1, value2, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscadrechildNotBetween(String value1, String value2) {
            addCriterion("iscadrechild not between", value1, value2, "iscadrechild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildIsNull() {
            addCriterion("iscountrychild is null");
            return (Criteria) this;
        }

        public Criteria andIscountrychildIsNotNull() {
            addCriterion("iscountrychild is not null");
            return (Criteria) this;
        }

        public Criteria andIscountrychildEqualTo(String value) {
            addCriterion("iscountrychild =", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildNotEqualTo(String value) {
            addCriterion("iscountrychild <>", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildGreaterThan(String value) {
            addCriterion("iscountrychild >", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildGreaterThanOrEqualTo(String value) {
            addCriterion("iscountrychild >=", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildLessThan(String value) {
            addCriterion("iscountrychild <", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildLessThanOrEqualTo(String value) {
            addCriterion("iscountrychild <=", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildLike(String value) {
            addCriterion("iscountrychild like", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildNotLike(String value) {
            addCriterion("iscountrychild not like", value, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildIn(List<String> values) {
            addCriterion("iscountrychild in", values, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildNotIn(List<String> values) {
            addCriterion("iscountrychild not in", values, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildBetween(String value1, String value2) {
            addCriterion("iscountrychild between", value1, value2, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIscountrychildNotBetween(String value1, String value2) {
            addCriterion("iscountrychild not between", value1, value2, "iscountrychild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildIsNull() {
            addCriterion("issupportchild is null");
            return (Criteria) this;
        }

        public Criteria andIssupportchildIsNotNull() {
            addCriterion("issupportchild is not null");
            return (Criteria) this;
        }

        public Criteria andIssupportchildEqualTo(String value) {
            addCriterion("issupportchild =", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildNotEqualTo(String value) {
            addCriterion("issupportchild <>", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildGreaterThan(String value) {
            addCriterion("issupportchild >", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildGreaterThanOrEqualTo(String value) {
            addCriterion("issupportchild >=", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildLessThan(String value) {
            addCriterion("issupportchild <", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildLessThanOrEqualTo(String value) {
            addCriterion("issupportchild <=", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildLike(String value) {
            addCriterion("issupportchild like", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildNotLike(String value) {
            addCriterion("issupportchild not like", value, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildIn(List<String> values) {
            addCriterion("issupportchild in", values, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildNotIn(List<String> values) {
            addCriterion("issupportchild not in", values, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildBetween(String value1, String value2) {
            addCriterion("issupportchild between", value1, value2, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andIssupportchildNotBetween(String value1, String value2) {
            addCriterion("issupportchild not between", value1, value2, "issupportchild");
            return (Criteria) this;
        }

        public Criteria andSchidIsNull() {
            addCriterion("schid is null");
            return (Criteria) this;
        }

        public Criteria andSchidIsNotNull() {
            addCriterion("schid is not null");
            return (Criteria) this;
        }

        public Criteria andSchidEqualTo(Integer value) {
            addCriterion("schid =", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotEqualTo(Integer value) {
            addCriterion("schid <>", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidGreaterThan(Integer value) {
            addCriterion("schid >", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidGreaterThanOrEqualTo(Integer value) {
            addCriterion("schid >=", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidLessThan(Integer value) {
            addCriterion("schid <", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidLessThanOrEqualTo(Integer value) {
            addCriterion("schid <=", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidIn(List<Integer> values) {
            addCriterion("schid in", values, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotIn(List<Integer> values) {
            addCriterion("schid not in", values, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidBetween(Integer value1, Integer value2) {
            addCriterion("schid between", value1, value2, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotBetween(Integer value1, Integer value2) {
            addCriterion("schid not between", value1, value2, "schid");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}